package com.baizhi.service;

import com.baizhi.entity.Admin;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.HashMap;

public interface AdminService{
    HashMap<String,Object> login(Admin admin,String enCode);

    HashMap<String,Object> queryAllPage(Integer page, Integer pageSize);

    HashMap<String,Object> update(Admin admin);

    HashMap<String,Object> delete(@RequestBody Admin admin);

}
